﻿using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using System.Data.SqlClient;

namespace BlazorProject.Entity
{
    public class BlazorContext : DbContext
    {
        public BlazorContext(DbContextOptions<BlazorContext> options) : base(options)
        {

        }
        
        public DbSet<SysUser> SysUser { get { return Set<SysUser>(); } }
        public DbSet<SysRole> SysRole { get { return Set<SysRole>(); } }
        public DbSet<SysRight> SysRight { get { return Set<SysRight>(); } }
        public DbSet<SysDictCode> SysDictCode { get { return Set<SysDictCode>(); } }
        public DbSet<SysLoginSession> SysLoginSession { get { return Set<SysLoginSession>(); } }
        public DbSet<SysRoleRight> SysRoleRight { get { return Set<SysRoleRight>(); } }
        public DbSet<SysLoginLock> SysLoginLock { get { return Set<SysLoginLock>(); } }
        public DbSet<SysLog> SysLog { get { return Set<SysLog>(); } }
    }
}
